from django.db import models

class News(models.Model):
    cate = models.ForeignKey('Cate', on_delete=models.CASCADE)
    title = models.CharField(max_length=100)
    url = models.CharField(max_length=100)
    img = models.CharField(max_length=25)
    date = models.DateField(auto_now=True)
